<?php

declare (strict_types=1);
namespace Swb\Shop\Model;

use Hyperf\Cache\Annotation\Cacheable;
use Hyperf\DbConnection\Db;
use Hyperf\DbConnection\Model\Model as BaseModel;

/**
 * @property int $id 主键ID
 * @property int $parent_id 父节点ID 根节点为-1
 * @property string $code 数据字典组编码
 * @property string $name 数据字典组名称
 * @property string $create_by 创建人
 * @property string $update_by 编辑人
 * @property string $create_time 创建时间
 * @property string $update_time 更新时间
 * @property int $is_save 1可编辑2不可编辑
 * @property int $del_flag 删除标志 0删除 1正常
 */
class SysDataDictGroup extends BaseModel
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'sys_data_dict_group';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'parent_id' => 'integer', 'is_save' => 'integer', 'del_flag' => 'integer'];
}
